<?
class GDataGridNumericFormat extends GDataGridFormat{
	public $dp=0;
	public function __construct($dp=0){
		$this->dp=$dp;
		$this->setAlign(GDataGridAlignType::CENTER);
	}
	public function getValue(){
		$value=formatter::number($this->value);
		return(number_format($value,$this->dp));
	}
};
?>